package application;

import java.util.ArrayList;

public class Projects {
	ArrayList<ProjectStatistics> projects = new ArrayList<ProjectStatistics>();
	
	
	public void addProject(ProjectStatistics p){
		projects.add(p);
	}
	
	public ProjectStatistics getProject(int nr){
		if(nr < projects.size() && nr >= 0){
			return  projects.get(nr);
			
		}
		return null;
	}
	
	public int getSize(){
		return projects.size();
	}
}
